acme 3.1.2 added a new --cert-profile option to request specific certificates.
This makes it possible to request shortlived six day certificates from Letsencrypt.
Signed-off-by: Norman Gehrsitz <openwrt@gehrsitz.eu>
include $(TOPDIR)/rules.mk
PKG_NAME:=acme-acmesh
-PKG_VERSION:=3.1.1
-PKG_RELEASE:=4
+PKG_VERSION:=3.1.2
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/acmesh-official/acme.sh/tar.gz/$(PKG_VERSION)?
-PKG_HASH:=c5d623ac0af400e83cd676aefaf045228f60e9fc597fea5db4c3a5bd7f6bfcf4
+PKG_HASH:=a51511ad0e2912be45125cf189401e4ae776ca1a29d5768f020a1e35a9560186
PKG_BUILD_DIR:=$(BUILD_DIR)/acme.sh-$(PKG_VERSION)
PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
set -- "$@" --days "$days"
fi
+ if [ "$cert_profile" ]; then
+ set -- "$@" --cert-profile "$cert_profile"
+ fi
+
case "$validation_method" in
"dns")
set -- "$@" --dns "$dns"
include $(TOPDIR)/rules.mk
PKG_NAME:=acme-common
-PKG_VERSION:=1.5.0
+PKG_VERSION:=1.5.1
PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
PKG_LICENSE:=GPL-3.0-only
procd_append_param env acme_server="$acme_server"
config_get days "$section" days
procd_append_param env days="$days"
+ config_get cert_profile "$section" cert_profile
+ procd_append_param env cert_profile="$cert_profile"
config_get dns_wait "$section" dns_wait
procd_append_param env dns_wait="$dns_wait"
config_get webroot "$section" webroot